home *** CD-ROM | disk | FTP | other *** search
- from JascApp import *
-
- def ScriptProperties():
- return {
- 'Author': 'Kris Zaklika',
- 'Copyright': 'Copyright (C) 2002-2003, Jasc Software Inc., All Rights Reserved.',
- 'Description': 'Red molecular models',
- 'Host': 'Paint Shop Pro',
- 'Host Version': '8.00'
- }
-
- def Preset_BallsAndBubbles():
- return {
- 'Illumination': {
- 'MaxAmbience': 100,
- 'MinAmbience': 0,
- 'LightList': [{
- 'BubbleLight': App.Constants.Boolean.false,
- 'Color': (128,128,128),
- 'Direction': (0.547199,0.659558,-0.515322),
- 'HighlightSize': 24
- },{
- 'BubbleLight': App.Constants.Boolean.true,
- 'Color': (37,60,0),
- 'Direction': (0.1429,-0.8772,0.6574),
- 'HighlightSize': 22
- }]
- },
- 'Mode': App.Constants.CountType.Multiple,
- 'Multiple': {
- 'AverageSize': 35,
- 'Coverage': 45,
- 'CreateMethod': App.Constants.BubbleCreateMethod.Intersecting,
- 'SizeVariation': 0
- },
- 'RandomSeed': 14565,
- 'RandomizePlacement': App.Constants.Boolean.false,
- 'Single': {
- 'MaxPossibleSize': App.Constants.Boolean.true
- },
- 'Surface': {
- 'Material': {
- 'Color': (255,0,0),
- 'Pattern': None,
- 'Gradient': None,
- 'Texture': None,
- 'Identity': 'Material'
- },
- 'BumpMap': {
- 'Active': App.Constants.Boolean.false
- },
- 'EnvironmentMap': {
- 'Active': App.Constants.Boolean.false
- },
- 'Gloss': 99,
- 'Opacity': 100,
- 'Shininess': 100
- }
- }
-
- def Do(Environment):
- App.Do( Environment, 'BallsAndBubbles', Preset_BallsAndBubbles())
-
-